package com.example.smartstart.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.lang.Nullable;

import java.io.Serializable;
import java.net.URL;
import java.time.LocalDate;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
@EqualsAndHashCode
@TableName("student_info")
public class StudentInfo implements Serializable {
    @TableId(type = IdType.INPUT)
    @ExcelProperty("学号")
    private String studentId;
    @ExcelProperty("考生号")
    private String examinerNumber;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("性别")
    private String gender;
    @ExcelProperty("出生日期")
    private LocalDate birthday;
    @ExcelProperty("毕业学校")
    private String graduateSchool;
    @ExcelProperty("报到日期")
    private LocalDate checkInDate;
    @ExcelProperty("报到状态")
    private String status;
    @ExcelProperty("照片")
    private String photo;
    @ExcelProperty("电子邮箱")
    private String email;
    @ExcelProperty("身份证号")
    private String idNumber;
    @ExcelProperty("入学学院")
    private String college;
    @ExcelProperty("入学系别")
    private String department;
    @ExcelProperty("入学班级")
    private String classNumber;
    @ExcelProperty("宿舍楼号")
    private Integer dormNumber;
    @ExcelProperty("寝室号")
    private Integer roomNumber;
    @ExcelProperty("手机号")
    private String phone;
    @ExcelProperty("QQ号")
    private String qqNumber;
    @ExcelProperty("籍贯")
    private String origin;
    @ExcelProperty("住址")
    private String address;
    @TableField(insertStrategy = FieldStrategy.NEVER,updateStrategy = FieldStrategy.NEVER,exist = false)
    private Integer offset;
    @TableField(insertStrategy = FieldStrategy.NEVER,updateStrategy = FieldStrategy.NEVER,exist = false)
    private Integer pageSize;
}
